import{p as s}from"./bg5wn-As1QRtOq.js";import{d as o,a9 as r,b as t,o as e,u as l,ah as i}from"./CtbHscGXagutd.js";import"./CtybWkkwagutd.js";import"./Dbo4x1w21esOcA.js";import"./C-UatXJz3yM15e.js";import"./Bz2936FN3aD96J.js";import"./BokZeiWK4swc5U.js";const p=["src"],c={key:1,class:"app-pdf-thumbnail-placeholder"},g=o({__name:"app-pdf-thumbnail",props:{assetUrl:{}},setup(a){const n=a,m=r(()=>n.assetUrl);return s.useThumbnail(m),(u,d)=>(e(),t("div",{class:i(["app-pdf-thumbnail",`app-pdf-thumbnail-${a.assetUrl==null?"empty":l(s).thumbnails[a.assetUrl]?"loading":"loaded"}`])},[a.assetUrl&&l(s).thumbnails[a.assetUrl]?(e(),t("img",{key:0,src:l(s).thumbnails[a.assetUrl]},null,8,p)):(e(),t("div",c))],2))}});export{g as default};